<template>
  <template v-if="status == '运行中'">
    <el-icon class="is-loading">
      <Loading />
    </el-icon>
  </template>
  <template v-else-if="status == '已停止'">
    <el-icon><WarningFilled /></el-icon>
  </template>
  <template v-else-if="status == '空闲'">

  </template>
  <template v-else-if="status == '成功'">
    <el-icon><CircleCheckFilled /></el-icon>
  </template>
  <template v-else-if="status == '失败'">
    <el-icon><CircleCloseFilled /></el-icon>
  </template>
  <template v-else>
    <el-icon class="other"><Select /></el-icon>
  </template>
</template>


<script setup lang="ts">
defineProps(['status'])
</script>


<style scoped>
.other {
  color: #0d8d5c;
}
</style>